package com.ourchem.bus.mapper;

import java.util.List;
import com.ourchem.bus.domain.Lecturer;

/**
 * lecturerMapper接口
 * 
 * @author xiYan
 * @date 2023-01-12
 */
public interface LecturerMapper 
{
    /**
     * 查询lecturer
     * 
     * @param id lecturer主键
     * @return lecturer
     */
    public Lecturer selectLecturerById(Long id);

    /**
     * 查询lecturer列表
     * 
     * @param lecturer lecturer
     * @return lecturer集合
     */
    public List<Lecturer> selectLecturerList(Lecturer lecturer);

    /**
     * 新增lecturer
     * 
     * @param lecturer lecturer
     * @return 结果
     */
    public int insertLecturer(Lecturer lecturer);

    /**
     * 修改lecturer
     * 
     * @param lecturer lecturer
     * @return 结果
     */
    public int updateLecturer(Lecturer lecturer);

    /**
     * 删除lecturer
     * 
     * @param id lecturer主键
     * @return 结果
     */
    public int deleteLecturerById(Long id);

    /**
     * 批量删除lecturer
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLecturerByIds(Long[] ids);
}
